import Vue from 'vue';
import Vuex from 'vuex';
import global from './modules/global';
import banners from './modules/banners';
import bulletin from './modules/bulletin';
import category from './modules/category';
import brands from './modules/brands';
import goods from './modules/goods';
import cart from './modules/cart';
import order from './modules/order';
import user from './modules/user';

Vue.use(Vuex);

const debug = process.env.NODE_ENV !== 'production';

export default new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    global,banners,bulletin,category,brands,goods,cart,order,user
  },
  strict: debug
});
